package org.example.myleet.p1021;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue("()()()".equals(solution.removeOuterParentheses("(()())(())")));
        Assert.isTrue("()()()()(())".equals(solution.removeOuterParentheses("(()())(())(()(()))")));
        Assert.isTrue("".equals(solution.removeOuterParentheses("()()")));
    }
}
